package cn.ethan.demo.design.cuisine.impl;

import cn.ethan.demo.design.OrderAdapterService;
import cn.ethan.demo.design.service.OrderService;

/**
 *
 *
 * @author 张俊辉
 */
public class InsideOrderService implements OrderAdapterService {

    private OrderService orderService = new OrderService();

    @Override
    public boolean isFirst(String uId) {
        return orderService.isFirstOrder(uId) <= 1;
    }
}
